Math.triangleArea Method

Returns the area of the triangle whose sides are a, b, and c.
 
 
Static This method is static.

Parameters

a

Type: Number
The length of the first side of the triangle.
b

Type: Number
The length of the second side of the triangle.
c

Type: Number
The length of the third side of the triangle.

Return Value


Type: Number
The area of the triangle.